package com.gopay.common.domain.dps;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * 二维码保存表 
 *@author shaozhengda 2017-10-16
 */

@Entity
@Table(name = "WA_TDCODE_CTB")
public class WaTdCodeCtb extends BaseEntity {

	private static final long serialVersionUID = 1L;
	private Integer tdId;
	private String userId;
	private String custId;
	private String accountId;
	private String tdAmt;
	private String tdName;
	private String tdType;
	private String tdRemark;
	private String tdStat;
	private Date crtTs;
	private Date lastUpdTs;
	private String remark;

	@Id
    @Column(name = "TD_ID")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "WA_TDCODE_CTB_SEQUENCE")
    @SequenceGenerator(name = "WA_TDCODE_CTB_SEQUENCE", allocationSize = 1, initialValue = 1, sequenceName = "WA_TDCODE_CTB_SEQUENCE")
	public Integer gettdId() {
		return tdId;
	}
	public void settdId(Integer tdId) {
		this.tdId = tdId;
	}
	@Column(name = "USER_ID")
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	@Column(name = "CUST_ID")
	public String getCustId() {
		return custId;
	}
	public void setCustId(String custId) {
		this.custId = custId;
	}
	@Column(name = "ACCOUNT_ID")
	public String getAccountId() {
		return accountId;
	}
	public void setAccountId(String accountId) {
		this.accountId= accountId;
	}
	@Column(name = "TD_AMT")
	public String getTdAmt() {
		return tdAmt;
	}
	public void setTdAmt(String tdAmt) {
		this.tdAmt = tdAmt;
	}
	@Column(name = "TD_NAME")
	public String getTdName() {
		return tdName;
	}
	public void setTdName(String tdName) {
		this.tdName = tdName;
	}
	@Column(name = "TD_TYPE")
	public String getTdType() {
		return tdType;
	}
	public void setTdType(String tdType) {
		this.tdType = tdType;
	}
	@Column(name = "TD_REMARK")
	public String getTdRemark() {
		return tdRemark;
	}
	public void setTdRemark(String tdRemark) {
		this.tdRemark = tdRemark;
	}
	@Column(name = "TD_STAT")
	public String getTdStat() {
		return tdStat;
	}
	public void setTdStat(String tdStat) {
		this.tdStat = tdStat;
	}
	@Column(name = "CRT_TS")
	@Temporal(TemporalType.TIMESTAMP)
	public Date getCrtTs() {
		return crtTs;
	}
	public void setCrtTs(Date crtTs) {
		this.crtTs = crtTs;
	}
	@Column(name = "LAST_UPD_TS")
	@Temporal(TemporalType.TIMESTAMP)
	public Date getLastUpdTs() {
		return lastUpdTs;
	}
	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}
	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
